package com.example.infrastructure.persistence.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.infrastructure.common.BasePO;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 医生表 PO
 *
 * @author wangal
 * @since 2025-07-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("doctors")
@Schema(name = "Doctors", description = "医生表")
public class Doctors extends BasePO {

    private static final long serialVersionUID = 1L;

    @Schema(description = "科室ID")
    @TableField("dept_id")
    private Long deptId;

    @Schema(description = "医生姓名")
    @TableField("doctor_name")
    private String doctorName;

    @Schema(description = "医生编号")
    @TableField("doctor_code")
    private String doctorCode;

    @Schema(description = "职称")
    @TableField("title")
    private String title;

    @Schema(description = "专长")
    @TableField("specialty")
    private String specialty;

    @Schema(description = "医生简介")
    @TableField("introduction")
    private String introduction;

    @Schema(description = "照片URL")
    @TableField("photo_url")
    private String photoUrl;

    @Schema(description = "问诊费用")
    @TableField("consultation_fee")
    private BigDecimal consultationFee;

    @Schema(description = "从业年限")
    @TableField("years_experience")
    private Integer yearsExperience;

    @Schema(description = "学历")
    @TableField("education")
    private String education;

    @Schema(description = "所属医院")
    @TableField("hospital")
    private String hospital;

    @Schema(description = "状态：1正常，0禁用")
    @TableField("status")
    private Byte status;

    @Schema(description = "租户编号")
    @TableField("tenant_id")
    private Long tenantId;


}